package org.zfes.snowier.zbss.xzy.biz.complaint.model;
import org.zfes.snowier.core.data.IBaseModel;
public class Complaint extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public Complaint() {}
	public Complaint(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="留言会员不能为空")

	  private java.lang.Long userId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="长度不能大于60")
	  private java.lang.String account;
 

	  private java.util.Date createTime;
 

	  private java.util.Date updateTime;
 
	@org.hibernate.validator.constraints.Length(min=0,max=1,message="是否匿名长度不能大于1")
	  private java.lang.String isAnonymous;
 

	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotBlank(message="内容不能为空")
	@javax.validation.constraints.NotNull(message="内容不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="内容长度不能大于2,147,483,647")
	  private java.lang.String content;
 
	
	//<-------------------------------------------->
	public Complaint setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public Complaint setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	 return this;
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public Complaint setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public Complaint setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public Complaint setIsAnonymous(java.lang.String isAnonymous){
		this.isAnonymous=isAnonymous==null?null:isAnonymous.trim();
	 return this;
	}
	public java.lang.String getIsAnonymous(){
		return this.isAnonymous;
	}
	public Complaint setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public Complaint setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}

}
